package com.cwnu.sw.cys.core.user.domain.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author jisam
 * @version 1.0
 * @contact "jisamchan@outlook.com"
 * @date 24/03/2025
 * @description 改名信息
 */
@Data
public class ModifyNameReq {
    @ApiModelProperty("用户名")
    @NotBlank()
    @Length(max = 6,message = "用户名长度不能超过6个字符哦")
    private String name;

//    @NotNull
//    private Integer id;
}
